package com.balabala.gym_goods.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author fsj
 * @date 2023/5/5 15:52
 */
@TableName("tb_coach_schedule")
@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
public class CoachSchedule {

    @TableId(type= IdType.AUTO)
    private Long id;

    //课程id
    private Integer courseId;

    //上课日期
    private Date startDate;

    //开课时间
    private Date startTime;

    //结束时间
    private Date endTime;
    /**
     * 场馆id
     */
    private Integer venuesId;

    //单节课可预约人数
    private Integer classOrderNumber;

    private Integer dayClass;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

}
